﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace nelech.Models.DBModel
{

    [MetadataType(typeof(FeedbackMetadata))]
    public partial class Feedback
    {
        // Validation rules for the Order class 


        public class FeedbackMetadata
        {
            [Required(ErrorMessage = "שם נדרש")]
            [DisplayName("Username")]
            [StringLength(160)]
            public object username { get; set; }

            [Required(ErrorMessage = "חובה למלא נדרש")]
            [DisplayName("Title")]
            [StringLength(160)]
            public object title { get; set; }

            [Required(ErrorMessage = "שם עיר נדרש")]
            [StringLength(170)]
            public object city { get; set; }


        }
    }

}
